package com.zjitc.model;

import java.util.List;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/4/25 15:49
 * @description:
 */
public class Category {
  public Integer cid;
  private String cname;

  public List<CategorySecond> categorySecondList;

  public List<CategorySecond> getCategorySecondList() {
    return categorySecondList;
  }

  public void setCategorySecondList(List<CategorySecond> categorySecondList) {
    this.categorySecondList = categorySecondList;
  }

  public Category() {
  }

  public Category(Integer cid, String cname) {
    this.cid = cid;
    this.cname = cname;
  }

  public Integer getCid() {
    return cid;
  }

  public void setCid(Integer cid) {
    this.cid = cid;
  }

  public String getCname() {
    return cname;
  }

  public void setCname(String cname) {
    this.cname = cname;
  }

  @Override
  public String toString() {
    return "Category{" +
        "cid=" + cid +
        ", cname='" + cname + '\'' +
        '}';
  }
}
